package com.gxuwz.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.gxuwz.dao.impl.BaseDaoImpl;
import com.gxuwz.dao.impl.RoleDaoImpl;
import com.gxuwz.entity.SysRole;
import com.gxuwz.service.IRoleService;

@Service("roleService")
public class RoleServiceImpl extends BaseServiceImpl<SysRole> implements IRoleService{

	@SuppressWarnings("unused")
	private RoleDaoImpl roleDao;

	@Override
    @Autowired(required = true)
    @Qualifier("roleDao")
	public void setBaseDao(BaseDaoImpl<SysRole> baseDao) {
        this.baseDao = baseDao;
        this.roleDao = (RoleDaoImpl) baseDao;
	}	
	
    
}
